package com.sgb.businessmodule.view.ui.activity;

import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;

import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;

import com.alibaba.android.arouter.launcher.ARouter;
import com.gyf.barlibrary.ImmersionBar;
import com.harisucici.jetpackbase.base.HBaseActivity;
import com.harisucici.jetpackbase.base.HBaseViewModel;
import com.sgb.businessmodule.BR;
import com.sgb.businessmodule.R;
import com.sgb.businessmodule.databinding.ActivityMainTextBinding;
import com.swgk.core.base.aroute.AppRouteConstant;

public class TestMainActivity extends HBaseActivity<ActivityMainTextBinding, HBaseViewModel> {

    @Override
    public int initContentView(Bundle savedInstanceState) {
        ImmersionBar.with(this)
                .statusBarDarkFont(true)
                .fitsSystemWindows(false)
                .keyboardEnable(false)
                .keyboardMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN | WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN)
                .init();
        return R.layout.activity_main_text;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }
}